package com.leicx.guli.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leicx.guli.common.utils.PageUtils;
import com.leicx.guli.product.entity.AttrEntity;
import com.leicx.guli.product.vo.attr.AttrRespVo;
import com.leicx.guli.product.vo.attr.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author lcx
 * @email at_xiong@163.com
 * @date 2021-03-25 11:13:58
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attr);

    PageUtils baseList(Map<String, Object> params, Long catId, String attrType);

    AttrRespVo getAttrInfo(Long attrId);

    void updateAttr(AttrVo attr);

    List<Long> selectSearchAttrIds(List<Long> attrIds);
}

